One, Linux file system three kinds of identities
1), file owner2), the same group of usersusers of the same user group can access the user group's files;Each account can be added to multiple user groups.Files in the same user group can also be set
Three types of identities for Linux file systems
File owner
Same group of usersUsers of the same user group can access the files of the user group;Each account can be joined to multiple user groups.Files in the same user group can also
Under Linux, Web directories and file permissions must consider the security of the system as a whole. In general, for the directory, you need to set R (read) and X (execute) permissions, and some directories also need W (write permission), for
One, the directory of files under LinuxSummary: The Linux file system is a hierarchical, tree- like structure in which the topmost layer of the structure is the root directory "/", and then another directory is created in this directory. A deep
In Linux , everything is files, ordinary files are files, directories are files, hardware devices are files, so learning to understand The files in Linux is very important. Linux There are three types of files in:(1) ordinary documents: also
What ls-al/tmp see today is RWXRWXRWT is surprised what this t is, how is it not X or-? Search for the following discovery:
This t represents the so-called sticky bit.
Sticky bit: This bit can be understood as an anti-delete bit.
The meaning of directory and file permissions in Linux
The meaning of file permission
R: You can read the specific contents of this document;
W: You can edit the contents of this file, including adding the details of the deleted file;
X: The
One: Users and Groups1 file Owner (user): is the owner of this file, has permissions to the file2 Group: Users within their group have access to files3 Others (Other):4 Linux user identities and group recorded filesBy default, information about
1, the Linux file attributes;
The properties of a Linux file or directory mainly include: The node of the file or directory, the type, the permission mode, the number of links, the users and user groups, the time of the most recent visit or
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.